/**  
 * @Title: CategoryGoodsVO.java
 * @Package com.silverbox.sweeporder.controller.index.vo
 * @author litao
 * @date 2017年12月21日
 */
package com.silverbox.sweeporder.controller.index.vo;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModelProperty;

/**
 * ClassName: CategoryGoodsVO 
 * @author litao
 * @date 2017年12月21日
 */
public class CategoryGoodsVO  {

	@ApiModelProperty(notes="分类Id")
	private Long categoryId;
	
	@ApiModelProperty(notes="分类名称")
	private String categoryName;

	@ApiModelProperty(notes="必选分类默认选择数量")
	private Double defaultNum = 0d;
	
	@ApiModelProperty(notes="是否必选分类 0否  1是")
	private Integer requiredCategory = 0;
	
	//@JsonIgnore
	@ApiModelProperty(notes="分类标签 0普通分类   -1本周最火分类   -2今日特惠分类   -3必选分类")
    private long categoryTab = 0L;
	
	@ApiModelProperty(notes="商品信息")
	private List<GoodsVO> goods = new ArrayList<GoodsVO>();
	
	public Long getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	
	public long getCategoryTab() {
		return categoryTab;
	}
	public void setCategoryTab(long categoryTab) {
		this.categoryTab = categoryTab;
	}
	public List<GoodsVO> getGoods() {
		return goods;
	}
	public void setGoods(List<GoodsVO> goods) {
		this.goods = goods;
	}
	public Double getDefaultNum() {
		return defaultNum;
	}
	public void setDefaultNum(Double defaultNum) {
		this.defaultNum = defaultNum;
	}
	public Integer getRequiredCategory() {
		return requiredCategory;
	}
	public void setRequiredCategory(Integer requiredCategory) {
		this.requiredCategory = requiredCategory;
	}
	
}
